/**
* @author:kellen
* @contact:xiekellen@hotmail.com
* @company:achivo-gz
* @created on:
* @modified on:
*/

package com.sasis.dao;

import java.util.List;

import com.sasis.dao.Dao;
import com.sasis.model.FlightAdjustHotel;

public interface FlightAdjustHotelDao extends Dao {

    /**
     * Retrieves all of the flightAdjustHotels
     */
    public List getFlightAdjustHotels(FlightAdjustHotel flightAdjustHotel);

    /**
     * Gets flightAdjustHotel's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the flightAdjustHotel's id
     * @return flightAdjustHotel populated flightAdjustHotel object
     */
    public FlightAdjustHotel getFlightAdjustHotel(final Integer id);

    /**
     * Saves a flightAdjustHotel's information
     * @param flightAdjustHotel the object to be saved
     */    
    public int saveFlightAdjustHotel(FlightAdjustHotel flightAdjustHotel);

    /**
     * Removes a flightAdjustHotel from the database by id
     * @param id the flightAdjustHotel's id
     */
    public void removeFlightAdjustHotel(FlightAdjustHotel flightAdjustHotel);
    
    public void deleteFlightAdjustHotel(FlightAdjustHotel flightAdjustHotel);
}

